package com.diver.flinkdemo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.diver.flinkdemo.entity.xxt.LocationInfo;

/**
 * Created with IntelliJ IDEA.
 *
 * @Description:
 * @Author: zhangB
 * @Date: 2023/2/24 13:44
 */
public interface ILocationInfoService {

    /**
     * 查询前一条上报数据信息
     *
     * @param timestamp
     * @param studentCardId
     * @return
     */
    LocationInfo getPreLocationInfo(long timestamp, String studentCardId);

    LocationInfo getByParams(QueryWrapper<LocationInfo> wrapper);

}
